* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Verdana, Arial, '微软雅黑', '宋体';
	font-size: 14px;
	color: #333;
}

.clear {
	clear: both;
}

button {
	padding: 0.25em 0.7em;
}

/* 空白
---------------------- */
.p-0 {
	padding: 0;
}

.p-5 {
	padding: 5px;
}

.p-10 {
	padding: 10px;
}

.p-15 {
	padding: 15px;
}

.m-0 {
	margin: 0;
}

.m-5 {
	margin: 5px;
}

.mh-5 {
	margin-left: 5px;
	margin-right: 5px;
}

.ml-5 {
	margin-left: 5px;
}

.mr-5 {
	margin-right: 5px;
}

.mv-5 {
	margin-top: 5px;
	margin-bottom: 5px;
}

.mt-5 {
	margin-top: 5px;
}

.mb-5 {
	margin-bottom: 5px;
}

.m-10 {
	margin: 10px;
}

.mh-10 {
	margin-left: 10px;
	margin-right: 10px;
}

.ml-10 {
	margin-left: 10px;
}

.mb-10 {
	margin-bottom: 10px;
}

.mv-10 {
	margin-top: 10px;
	margin-bottom: 10px;
}

.mt-10 {
	margin-top: 10px
}

.mb-10 {
	margin-bottom: 10px;
}

.m-15 {
	margin: 15px;
}

.mh-15 {
	margin-left: 15px;
	margin-right: 15px;
}

.ml-15 {
	margin-left: 15px;
}

.mr-15 {
	margin-right: 15px;
}

.mv-15 {
	margin-top: 15px;
	margin-bottom: 15px;
}

.mt-15 {
	margin-top: 15px;
}

.mb-15 {
	margin-bottom: 15px;
}

/* 颜色
---------------------- */
.bg-red {
	background-color: red;
}

.bg-blue {
	background-color: blue;
}

.bg-green {
	background-color: green;
}

.bg-pink {
	background-color: pink;
}

.bg-orange {
	background-color: orange;
}

.bg-gray {
	background-color: #eee;
}

.bg-cyan {
	background-color: cyan;
}

.bg-purple {
	background-color: purple;
}

/* 区块
---------------------- */
section {
	margin: 15px;
}

section>h3 {
	padding-bottom: 5px;
	border-bottom: solid 1px #ddd;
	margin-bottom: 10px;
}

section p {
	margin: 8px 0;
}

section h4 {
	margin: 0.5rem 0;
}

/* 分栏
---------------------- */
.row {
	width: 100%;
	display: flex;
}

.col-1 {
	flex: 1;
}

.co-2 {
	flex: 2;
}

.col-3 {
	flex: 3;
}

.col-4 {
	flex: 4;
}

.col-5 {
	flex: 5;
}

/* 卡片
---------------------- */
.card {
	border: solid 1px #ddd;
	border-radius: 5px;
}

.card>header {
	padding: 5px 15px;
	background-color: #eee;
	border-bottom: solid 1px #ddd;

}

.card>main {
	padding: 10px;
}

.card>footer {
	background-color: #eee;
	border-top: solid 1px #ddd;
	padding: 5px 15px;
}

/* 表格
---------------------- */
.grid {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border: solid 1px #ddd;
	cursor: default;
}

.grid thead tr {
	background-color: #eee;
}

.grid tr {
	border-bottom: solid 1px #ddd;
}

.grid th,
.grid td {
	padding: 5px;
}

.grid tbody tr:hover {
	background-color: #eee;
}

.stripe tr:nth-child(even) {
	background-color: #eee;
}

/* 列表
---------------------- */
.list {
	list-style: none;
	list-style-type: none;
}

.list li {
	list-style: none;
	list-style-type: none;
}

.list.m-5 li {
	margin: 5px;
}

.list.wrap>li {
	float: left;
}

.list.wrap::after {
	content: '';
	display: block;
	clear: both;
}

.list.center>li {
	position: relative;
	text-align: center;
	vertical-align: middle;
}

.list.center>li:after {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.plist li {
	margin: 0.5em 0;
}

li.title {
	font-weight: bold;
}

.d-list {
	list-style-position: inside;
}

.d-list li {
	margin: 0.5rem 0;
}

/* 表单
---------------------- */
.form {}

.form-row {
	margin: 1rem auto;
}

.form-label {
	display: inline-block;
	min-width: 6rem;
	text-align: right;
	margin-right: 0.5rem;
}

.form-text {
	display: inline-block;
	padding: 0.3rem;
	border-radius: 3px;
	border: solid 1px #ccc;
	outline: 0;
}

.form-text:focus-visible {
	border: solid 1px #0099FF;
}

.form-radio,
.form-check {
	display: inline-block;
	margin-right: 0.8rem;
}

.form-combo {
	min-width: 8rem;
	padding: 0.3rem;
	border-radius: 3px;
	border: solid 1px #ccc;
	outline: 0;
}

.form-combo:focus-visible {
	border: solid 1px #0099FF;
}

/* 代码块
---------------------- */
.code {
	background-color: #eee;
	border: solid 1px #ddd;
	border-radius: 0.25rem;
	padding: 0.5rem;
}
